package com.ruoyi.common.yh.api.dtovo.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * @ClassName WeiXinPhoneDTO
 * @Deacription TODO
 * @Author Administrator
 * @Date 2021/2/22 19:31
 * @Version 1.0
 **/
@ApiModel(description = "微信获取头像和昵称")
public class WeiXinNickNameDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "头像", name = "avatarUrl",required = true)
    private String avatarUrl;
    @ApiModelProperty(value = "昵称", name = "nickName",required = true)
    @NotEmpty
    private String nickName;


    public String getAvatarUrl() {
        return avatarUrl;
    }

    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }
}
